package com.bogo.dbtable.handler;

/**
 * @Author: CHICHI
 * @Date: 2025-05-19-11:13
 * @Description:
 */
public class DatabaseOperationException extends RuntimeException{
    private final int errorCode;

    public DatabaseOperationException(String message, int errorCode) {
        super(message);
        this.errorCode = errorCode;
    }

    public int getErrorCode() {
        return errorCode;
    }
}
